package com.example.eduservice.service.fallback;

import com.example.common.commonsutils.R;
import com.example.eduservice.service.FeignService;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Component;

/**
 * @Author:tjf
 * @Description:熔断器
 */
@Component
public class FeignServiceFallback implements FeignService {
    @Override
    public R removeVideoById(String videoId) {
        return R.error().message("视频服务异常，请联系工作人员。");
    }
}
